package com.company;

public class ITDemo implements IMyInterface<String> {

    public int add(int a, int b){
        return a +b;
    }

    public <？ extends  Number> T addT(T a, T b) {
        return a + b;
    }

    @Override
    public void show(String name) {
        System.out.println(name);
    }

    // git add .
    // git commit -m "demo"
    // git push

    public static void main(String[] args) {
        ITDemo itDemo = new ITDemo();
        Integer integer = itDemo.<Integer>addT(3, 4);
        System.out.println(integer);
        itDemo.show("A  nice day!");
    }
}
